package com.ysw.entity;

public class Student {
    private int id;
    private String stuname;
    private int age;
    private String sex;
    private int stunumber;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }



    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public int getStunumber() {
        return stunumber;
    }

    public void setStunumber(int stunumber) {
        this.stunumber = stunumber;
    }


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + stuname + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", number=" + stunumber +
                '}';
    }
}
